package com.main.usermanagement.interfaces.dto;

import com.main.common.base.base.dto.BaseDTO;
import com.main.usermanagement.domain.user.valueobject.Email;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserDTO extends BaseDTO {
    @Schema(description = "姓名")
    private String name;

    @Schema(description ="手机号")
    private String phone;

    @Schema(description ="区号")
    private String phoneCode;

    @Schema(description ="邮箱")
    private Email email;

    @Schema(description ="微信")
    private String wechat;

    @Schema(description ="上级id")
    private Long directSupervisorId;

    @Schema(description ="组织原子id")
    private Long organizationAtomicId;

    @Schema(description ="信息")
    private UserInfoDTO userInfo;

    @Schema(description ="住址")
    private UserAddressDTO userAddress;
}
